package com.zz.inventory.service;

import java.util.List;
import com.zz.inventory.domain.UserPackageRecords;

/**
 * 套餐权益记录Service接口
 * 
 * @author zz
 * @date 2025-07-06
 */
public interface IUserPackageRecordsService 
{
    /**
     * 查询套餐权益记录
     * 
     * @param recordId 套餐权益记录主键
     * @return 套餐权益记录
     */
    public UserPackageRecords selectUserPackageRecordsByRecordId(Long recordId);

    /**
     * 查询套餐权益记录列表
     * 
     * @param userPackageRecords 套餐权益记录
     * @return 套餐权益记录集合
     */
    public List<UserPackageRecords> selectUserPackageRecordsList(UserPackageRecords userPackageRecords);

    /**
     * 新增套餐权益记录
     * 
     * @param userPackageRecords 套餐权益记录
     * @return 结果
     */
    public int insertUserPackageRecords(UserPackageRecords userPackageRecords);

    /**
     * 修改套餐权益记录
     * 
     * @param userPackageRecords 套餐权益记录
     * @return 结果
     */
    public int updateUserPackageRecords(UserPackageRecords userPackageRecords);

    /**
     * 批量删除套餐权益记录
     * 
     * @param recordIds 需要删除的套餐权益记录主键集合
     * @return 结果
     */
    public int deleteUserPackageRecordsByRecordIds(Long[] recordIds);

    /**
     * 删除套餐权益记录信息
     * 
     * @param recordId 套餐权益记录主键
     * @return 结果
     */
    public int deleteUserPackageRecordsByRecordId(Long recordId);
}
